package com.coderdream.chapter05.singleton.a1;

public class Main {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		System.out.println("Start.");
		
		for (int i = 0; i < 1000; i++) {
			System.out.println(i + ":" +
					TicketMaker.getInstance().getNextTicketNumber());
		}
		
		System.out.println("End.");
	}

}
